'use strict';
//全局变量
angular.module('app').value('dict',{}).run(['$http','dict', function($http,dict){
    $http.get('data/city.json').then(function(resp){
        dict.city = resp.data;
    });
    
    $http.get('data/salary.json').then(function(resp){
        dict.salary = resp.data;
    });

    $http.get('data/scale.json').then(function(resp){
        dict.scale = resp.data;
    });
}]);